package com.pubinfo.passbook.data.service;

import com.pubinfo.passbook.common.entity.TFileInfo;
import com.pubinfo.passbook.common.entity.TSourceInvoice;
import com.pubinfo.passbook.common.model.bo.SubsidiaryInfo;
import com.pubinfo.passbook.common.model.dto.tax.QueryByTimeResult;

import java.io.IOException;
import java.util.List;

public interface InvoiceFilePackageInfoService {
  
  List<TFileInfo> getInvoiceFilePackageInfo(String requestId, Integer pageNumber, SubsidiaryInfo info, String date) throws IOException;
  
  QueryByTimeResult getInvoiceFilePackageCount(String requestId, String kprq, SubsidiaryInfo info);

  Integer sync(String strtDate, String endDate);

  void sync(String taskId);

  List<TFileInfo> listByDate(SubsidiaryInfo info, String date);
  
  Integer saveByDateAndTaskId(String date,String taskId);
}
